import request from '@/utils/request'

const API_NAME = '/admin/cmn/dict'
export default {
  findByDictCode(dictCode) {
    return request({
      url: `${API_NAME}/findByDictCode/${dictCode}`,
      method: 'get',
      //params: searchObj
    })
  },
  findByParentId(parentId) {
    return request({
      url: `${API_NAME}/findChildData/${parentId}`,
      method: 'get',
      //params: searchObj
    })
  }


}
